import Layout from '@/layouts'
const mall = [
  {
    path: '/mall',
    component: Layout,
    children: [
      {
        path: '/',
        name: 'mall',
        component: () => import('@/views/mall/list'),
        meta: { title: '商城列表', needLogin: false }
      },
      {
        path: 'details',
        name: 'details',
        component: () => import('@/views/mall/details'),
        meta: { title: '商品详情', needLogin: false }
      },
      {
        path: 'pay',
        name: 'pay',
        component: () => import('@/views/mall/pay'),
        meta: { title: '确认订单', needLogin: true }
      }
    ]
  }
]
export default mall
